package com.example.studentstatusmanagement.service;

import com.example.studentstatusmanagement.pojo.Building;
import com.example.studentstatusmanagement.pojo.Dorm;
import com.example.studentstatusmanagement.pojo.DormExample;
import com.example.studentstatusmanagement.pojo.doo.ReqRoom;
import com.example.studentstatusmanagement.pojo.dto.BuildingInfo;
import com.example.studentstatusmanagement.pojo.dto.DormInfo;
import com.example.studentstatusmanagement.pojo.dto.SRoom;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DormService {

    List<BuildingInfo> selectDormInfos();

    int insertSelective(Dorm record);

    List<Dorm> selectByExample(DormExample example);

    Dorm selectByPrimaryKey(Integer id);



    int updateByPrimaryKeySelective(Dorm record);


    List<ReqRoom> selectPlotsForDrom();

    List<SRoom> selectDorms(ReqRoom reqRoom);

}
